package stringexercise;

public class CharDemo2 {
    public static void main(String[] args) {
        String str="Thinking in java";
        char c=str.charAt(9);//返回字符串在制定位置上的字符
        System.out.println(c);
    }
}
